widget: black is the new red
authorTimm Bäder <mail@baedert.org>
Tue, 27 Jun 2017 10:28:25 +0000 (12:28 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:14 +0000 (21:27 -0400)
gtk/gtkwidget.c

index 76054b47679a786f24a5a54150415079ea3156f3..c477520b4db0909117e2d0bfd69a6e6854c135e8 100644 (file)
@@ -15200,7 +15200,7 @@ gtk_widget_maybe_add_debug_render_nodes (GtkWidget             *widget,
 
       if (baseline != -1)
         {
-          GdkRGBA black = {1, 0, 0, 1};
+          GdkRGBA red = {1, 0, 0, 1};
           graphene_rect_t bounds;
 
           style = gtk_css_node_get_style (priv->cssnode);
@@ -15215,7 +15215,7 @@ gtk_widget_maybe_add_debug_render_nodes (GtkWidget             *widget,
                               margin.top + border.top + padding.top + baseline,
                               priv->allocation.width, 1);
           gtk_snapshot_append_color (snapshot,
-                                     &black,
+                                     &red,
                                      &bounds,
                                      "Baseline Debug");
         }